home *** CD-ROM | disk | FTP | other *** search
/ Programmer Plus 2007 / Programmer-Plus-2007.iso / Programming / XML Utilities / XML Writer 2.12 / XML writer.exe / file0007.bin < prev    next >
Encoding:
Text File  |  2003-04-14  |  1.8 KB  |  44 lines

  1. <!--See LibraryDtd.xml for details on how to use this DTD for validation-->
  2.  
  3. <!--A sequence of child elements.
  4.     (*) indicates 0 or more.-->
  5. <!ELEMENT library (name,book*,journal*,video*)>
  6. <!ELEMENT name (#PCDATA)>
  7. <!--A sequence of child elements.
  8.     (?) indicates 0 or 1.
  9.     (+) indicates 1 or more.-->
  10. <!ELEMENT book (publisher,title,edition?,author+,isbn,callno,online_url?)>
  11. <!--The element 'book' contains an enumerated attribute called 'status'.
  12.     This attribute is required, and may have the value 'available' or 'on_loan'.-->
  13. <!ATTLIST book status (available|on_loan) #REQUIRED>
  14. <!ELEMENT publisher (#PCDATA)>
  15. <!ELEMENT title (#PCDATA)>
  16. <!ELEMENT edition (#PCDATA)>
  17. <!--A sequence of child elements-->
  18. <!ELEMENT author (first-name,last-name)>
  19. <!ELEMENT first-name (#PCDATA)>
  20. <!ELEMENT last-name (#PCDATA)>
  21. <!ELEMENT isbn (#PCDATA)>
  22. <!ELEMENT callno (#PCDATA)>
  23. <!ELEMENT online_url (#PCDATA)>
  24. <!--A sequence of child elements.
  25.     (*) indicates 0 or more.-->
  26. <!ELEMENT journal (title,date,author*,callno)>
  27. <!--The element 'journal' contains an attribute called 'series'.
  28.     This attribute is required, and must be composed of CDATA (text that does not form markup).-->
  29. <!ATTLIST journal series CDATA #REQUIRED>
  30. <!ELEMENT date (#PCDATA)>
  31. <!--A sequence of child elements.
  32.     (+) indicates 1 or more.-->
  33. <!ELEMENT video (title,year,director+,genre+,callno)>
  34. <!--The element 'video' contains an enumerated attribute called 'status'.
  35.     This attribute is required, and may have the value 'available' or 'on_loan'.-->
  36. <!ATTLIST video status (available|on_loan) #REQUIRED>
  37. <!ELEMENT year (#PCDATA)>
  38. <!ELEMENT director (name)>
  39. <!ELEMENT genre (#PCDATA)>
  40.  
  41. <!--This file was created using XMLwriter v2.0 Beta 2.
  42.     Copyright Wattle Software 2002. All rights reserved.
  43.     http://XMLwriter.net/-->
  44.